<?php
/**
 * 
 * @author	ronnie  (comdeng@gmail.com)
 * @link		http://fillphp.com/
 * @date		2014-5-3 下午1:21:13
 * @file		ActionController.php
 * @description 
 */
namespace com\demo\page;

use fillphp\page\Response;
class IndexAction extends \fillphp\page\Controller
{
	function head()
	{
		if ($this->request->hasArgs()) {
			return new Response(null, 404);
		}
		return new Response();
	}
	
	function get()
	{
		return new Response('<!doctype html><head></head><body><h1>Hello World</h1><a href="/bbs/?bbs_id=3434">Go Bbs</a></body>');
	}
}
